package com.sduept.i1.model;

public class WeatherData {
	public static short msgLen = 59;
	// 17 4 4 2 4 4 4 4 2 4 4 4 2
	
	private String componentId;//采集设备
	private int timeStamp;//采集时间',
	private float averageWindSpeed10min;//10 分钟平均风速',
	private short averageWindDirection10min;//10 分钟平均风向',
	private float maxWindSpeed;//最大风速',
	private float extremeWindSpeed;//极大风速',
	private float standardWindSpeed;//标准风速',
	private float airTemperature;//气温',
	private short humidity;//湿度',
	private float airPressure;//气压',
	private float precipitation;//降雨量',
	private float precipitationIntensity;//降水强度',
	private short radiationIntensity;//光辐射强度',
	
	public String getComponentId() {
		return componentId;
	}
	public void setComponentId(String componentId) {
		this.componentId = String.format("%-17s", componentId);
	}
	public int getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(int timeStamp) {
		this.timeStamp = timeStamp;
	}
	public float getAverageWindSpeed10min() {
		return averageWindSpeed10min;
	}
	public void setAverageWindSpeed10min(float averageWindSpeed10min) {
		this.averageWindSpeed10min = averageWindSpeed10min;
	}
	public short getAverageWindDirection10min() {
		return averageWindDirection10min;
	}
	public void setAverageWindDirection10min(short averageWindDirection10min) {
		this.averageWindDirection10min = averageWindDirection10min;
	}
	public float getMaxWindSpeed() {
		return maxWindSpeed;
	}
	public void setMaxWindSpeed(float maxWindSpeed) {
		this.maxWindSpeed = maxWindSpeed;
	}
	public float getExtremeWindSpeed() {
		return extremeWindSpeed;
	}
	public void setExtremeWindSpeed(float extremeWindSpeed) {
		this.extremeWindSpeed = extremeWindSpeed;
	}
	public float getStandardWindSpeed() {
		return standardWindSpeed;
	}
	public void setStandardWindSpeed(float standardWindSpeed) {
		this.standardWindSpeed = standardWindSpeed;
	}
	public float getAirTemperature() {
		return airTemperature;
	}
	public void setAirTemperature(float airTemperature) {
		this.airTemperature = airTemperature;
	}
	public short getHumidity() {
		return humidity;
	}
	public void setHumidity(short humidity) {
		this.humidity = humidity;
	}
	public float getAirPressure() {
		return airPressure;
	}
	public void setAirPressure(float airPressure) {
		this.airPressure = airPressure;
	}
	public float getPrecipitation() {
		return precipitation;
	}
	public void setPrecipitation(float precipitation) {
		this.precipitation = precipitation;
	}
	public float getPrecipitationIntensity() {
		return precipitationIntensity;
	}
	public void setPrecipitationIntensity(float precipitationIntensity) {
		this.precipitationIntensity = precipitationIntensity;
	}
	public short getRadiationIntensity() {
		return radiationIntensity;
	}
	public void setRadiationIntensity(short radiationIntensity) {
		this.radiationIntensity = radiationIntensity;
	}
}
